package com.rulin.asp.attachment.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.rulin.asp.attachment.entity.Attachment;

@Repository
public interface AttachmentMapper {
    int deleteByPrimaryKey(String attachmentId);

    int insert(Attachment record);

    int insertSelective(Attachment record);

    Attachment selectByPrimaryKey(String attachmentId);

    int updateByPrimaryKeySelective(Attachment record);

    int updateByPrimaryKey(Attachment record);
    
    List<Attachment> selectByAreaId(String areaId);
}